TestPath has command line support for advanced users. This mode can be used to set comparison parameters and also to start automatic comparing mode without the need for user interface actions.
Parameters are case insensitive (you can use either lower or
upper case parameters). Parameters can be prefixed with either a slash (/) or a
hyphen (-), but must be separated by a space. Do not combine two or more parameters
together. Correct: TestPath.exe /S /OT /OB Incorrect: TestPath.exe /SOTOB All options, except /S, are ignored if automatic comparing mode (/A) is not specified. In automatic comparing mode the options and paths that you set using the command line are only used for current comparing and will not be saved. You can use following command line parameters: |
|
|
Do not show skin on the window backgrounds and buttons. This parameter is added for compability reasons in case there is a problem to draw the background skin picture or to paint the buttons. Example: >TestPath.exe /S |
|
Start automatic comparing. This parameter MUST be followed by two paths, the source path followed by the destination path. If any of these paths have spaces in them, you must enclose the path in double quotes. Example: >TestPath.exe /A "c:\new cd data\burn" "d:\" Example with incorrect parameters (there is /S between /A and two paths): >TestPath.exe /A /S "c:\new cd data\burn" "d:\" |
|
Save results to file (can only be used when /A is used). Filename of the results file must follow this parameter. It is suggested to use the full path for the filename. If the filename containts spaces, you must enclose it in double quotes. Example: >TestPath.exe /A "c:\new cd\burn" "d:\" /R "c:\new
cd\results.txt" |
|
Append results to file (is ignored if /R is not specified). Specify this parameter to append new results to the given file. If this parameter is not specified, a new results file will be created. Example: >TestPath.exe /A "c:\new cd\burn" "d:\" /R "c:\new
cd\results.txt" /P |
|
Save only errors to results file (is ignored if /R is not specified). Specify this parameter if you want the results file to be written only if errors are found. If this parameter is not specified, the results file will always be written. Example: >TestPath.exe /A "c:\new cd\burn" "d:\" /R "c:\new
cd\results.txt" /E |
|
Options You can use the following options:
Example: |
When using automatic comparing mode TestPath will return following errorlevel numbers: | |
0 | No errors found |
1 | Errors found (files are different, not found, etc) |
2 | Comparing stopped by user |
3 | Bad parameters |
9 | Other critical error |